package com.flower.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import com.flower.entity.Images;

import java.util.List;

/**
 * ImagesMapper 数据访问接口
 * @date 2019-03-12 11:47:58
 * @version 1.0
 */
public interface ImagesMapper extends Mapper<Images>{
    @Select("SELECT imgurl FROM images  WHERE  fid=#{fid}")
    List<String> findImageByFid(@Param("fid") Long fid);
}